package com.sc.ktapplication.common.base

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import com.sc.ktapplication.common.net.RetrofitManager
import com.sc.ktapplication.common.net.SingleLiveEvent
import com.sc.ktapplication.common.net.WebApi

open class BaseViewModel(application: Application) : AndroidViewModel(application) {

    protected var webApi: WebApi = RetrofitManager.instance.create(WebApi::class.java)

    val errorMsg = SingleLiveEvent<String>()

}